function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        var vm = {
            colorList: ["red", "blue", "green", "yellow"],
            checkbox: {
                showPanel: ko.observable(true),
                selectedColorList: ko.observableArray(["green"]),
            },
            radio: {
                showPanel: ko.observable(true),
                selectedColor: ko.observable("green"),
            },
        };
        ko.applyBindings(vm, document.getElementById("root"));
    });
}
require(["../scripts/require.config"], main);